package com.citicpub_cloud.restfull.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.citicpub_cloud.restfull.api.dto.GoodsInfoDTO;
import com.citicpub_cloud.restfull.dao.GoodsDaoService;
import com.citicpub_cloud.restfull.service.GoodsService;

@Service
public class GoodsServiceImpl implements GoodsService {
	@Autowired
	private GoodsDaoService goodsDaoService;

	@Override
	public GoodsInfoDTO getGoodsDetailById(Long goodsId, String goodsNum, Integer gtype, Long resId, Long pid) {
		return goodsDaoService.getGoodsDetailById(goodsId, goodsNum, gtype, resId, pid);
	}
}
